﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Visit_KPI_List.aspx.cs" Inherits="CallRoute_Visit_KPI_List" MasterPageFile="~/MasterPage.master" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <title>拜访历史</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
                <table id="wsd_inputtable">
            <tr>
                <td class="tabletitleCenter">
                    <asp:Label runat="server" ID="lblVisitHistoryMessage"></asp:Label>
                </td>
            </tr>
        </table>

        <br />
                    <table id="wsd_inputtable">
                        <tr>
                            <td width="100%" class="tabletitle" >
                                KPI列表</td>
                        </tr>
                    </table>
                    <table id="wsd_listtable" width="100%">
                        <tr>
                            <td style="width: 100%">
                                <asp:GridView BorderWidth="0" Width="100%" ID="gvVisit" runat="server" AutoGenerateColumns="false" EmptyDataText="没有可显示的数据." 
                                EmptyDataRowStyle-Font-Bold="true" EmptyDataRowStyle-HorizontalAlign="Center"   
                                    EnableEmptyContentRender="true" DataKeyNames="ID" 
                                    >
                                    <HeaderStyle CssClass="titlist" />
                                    <Columns >
                                        <asp:BoundField HeaderText="巡店督导" DataField="NAME" />
                                        <asp:BoundField HeaderText="拜访日期" DataField="START_TIME" DataFormatString="{0:yyyy/MM/dd}" />
                                        <asp:BoundField HeaderText="产品" DataField="PRODUCTNAME" />
                                        <asp:BoundField HeaderText="" DataField="VISIT_ID" Visible="false" />
  
                                         <asp:BoundField HeaderText="库存(箱)" DataField="CCIVALUE"  />
                                         <asp:BoundField HeaderText="库存(瓶)" DataField="CPIVALUE"  /> 
                                    </Columns>
                                    <RowStyle CssClass="evenline" />
                                    <AlternatingRowStyle CssClass="oddline" />
                                    <PagerSettings Visible="true" />
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <table id="wsd_inputtable">
                        <tr>
                            <td width="100%" class="tabletitle" >
                                操作选项
                            </td>
                        </tr>
                        <tr>
                            <td class="buttonarea">
                                <asp:Button ID="Button1" runat="server" class="wsd_button2" Text="重新搜索" OnClick="btnResearch_Click" />
                            </td>
                        </tr>
                    </table>

    </div>
</asp:Content>